/********************************************************************************
 *      Copyright:  (C) 2024 YunQi
 *                  All rights reserved.
 *
 *       Filename:  sht20.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(26/04/24)
 *         Author:  denglen <Dengleen@outlook.com>
 *      ChangeLog:  1, Release initial version on "26/04/24 03:17:34"
 *                 
 ********************************************************************************/
#ifndef _SHT20_H_
#define _SHT20_H_

#define SOFTRESET                        0xFE
#define TRIGGER_TEMPERATERE_NO_HOLD      0xF3
#define TRIGGER_HUMIDITY_NO_HOLD         0xF5
#define DEV_i2C                          "/dev/i2c-1"


int sht2x_get_temperature_humidity(float *temp, float *rh);

#endif
